package com.insist.service;

import com.insist.model.CartProductModel;

import java.util.List;

/**
 * Created by Administrator on 2016/6/30.
 */
public interface CartService {
    void addCart(Long productId, Long userId, Integer number);

    void delCart(Long id, Long id1);

    void editCart(Long cartId, Integer num, Long userId);

    List<CartProductModel> getCart(Long id);

    CartProductModel getCart(Long id, Long productId);
}
